package com.sq.partner.manager.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import com.sq.partner.manager.mybatis.model.CoreDept;
import com.sq.partner.manager.mybatis.model.GatewayChannelInfo;
import com.sq.partner.manager.util.Page;

public interface IGatewayCreditPolicyListService {

	/**
	 * 查询当前用户的权限机构
	 */
	public List<CoreDept> queryPrivilegeBranch(String deptCodeStr) throws Exception;
	
	/**
	 * 查询当前用户的权限机构的合作伙伴
	 */
	public Page<GatewayChannelInfo> queryChannelInfoPageOfLife(Page<GatewayChannelInfo> page)throws Exception;
	
	/**
	 * 条件分页查询信保保单
	 */
	public Page<Map<String,Object>> queryCreditPolicyPageByCriteria(Page page) throws Exception;
	
	/**
	 * 导出借意险投保信息查询
	 */
	public List<Map<String,Object>> queryCreditPolicyListByCriteria(Map<String,Object> map) throws Exception;
	
	/**
	 * 导出借意险投保信息
	 */
	public void downloadCreditPolicyFile(List<Map<String,Object>> creditPolicyList,HttpServletResponse response) throws Exception;
	
}
